package com.itheima.service.mongo;

import com.itheima.domain.db.UserLocation;

import java.util.List;

/**
 * @author zsk
 * @create 2022-03-20-19:26
 */
public interface UserLocationService {

    //上报地理位置
    void saveLocation(Double longitude,Double latitude,String addrStr,Long userId);//精度、纬度、坐标

    //搜索附近
    List<Long> searchNearUser(Long userId,Long distance);

}
